<?php
/** 
 * EGP Framework
 *
 * LICENSE
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 *
 * @author     Akon(番茄红了) <aultoale@gmail.foo>
 * @copyright  Copyright (c) 2008 (http://www.tblog.foo.cn)
 * @license    http://www.gnu.org/licenses/gpl.html     GPL 3
 * @version    v1.0.0 Beta @ 2008-10-16
 */

!defined('EGP_LIB_DIR') && die('Access Deny!');

/**
 * 项目配置文件
 *
 * @package    config
 * @author     Akon(番茄红了) <aultoale@gmail.foo>
 * @copyright  Copyright (c) 2008 (http://www.tblog.foo.cn)
 * @license    http://www.gnu.org/licenses/gpl.html     GPL 3
 */
return array(
    'session' => array(
        'name' => 'EGP_SID', //Session Name
        'domain' => 'tblog.com.cn',
    ),
    'cache' => array(
        'adapter' => 'memcached', //缓存适配器
        'config' => array(),
    ),
    'db' => array(
        'adapter' => 'mysql', //数据库适配器
        'config' => array(
            'host' => 'localhost:3306', //主机名:端口
            'dbname' => 'sq_tblog', //数据库名
            'username' => 'root', //用户名
            'password' => '123456', //密码
            'charset' => 'utf8', //数据库编码
            'prefix' => 'tblog_', //表名前缀
        ),
    ),
    'hosts' => array( //主机名配置
        'www.tblog.com.cn' => 'default',
    ),
);